/*
 *  Copyright (C) 2010 Matthias Buch-Kromann <mbk.isv@cbs.dk>
 * 
 *  This file is part of the MatrixParser package.
 *  
 *  The MatrixParser program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 * 
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 * 
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.osdtsystem.matrixparser.featureextraction;

import org.osdtsystem.matrixparser.data.CONLLSentence;
import org.osdtsystem.matrixparser.features.FeatureVector;
import org.osdtsystem.matrixparser.parsers.ParsingModel;
import org.osdtsystem.matrixparser.parsers.output.DependencyTree;

/**
 *
 * @author Matthias Buch-Kromann <mbk.isv@cbs.dk>
 */
public abstract class AbstractHigherOrderExtractor extends AbstractFeatureExtractor
        implements HigherOrderExtractor {
    public AbstractHigherOrderExtractor(ParsingModel model, String geneFamily, int geneCount) {
        super(model, geneFamily, geneCount);
    }
    
    public AbstractHigherOrderExtractor(ParsingModel model) {
        super(model);
    }

    public final void extract(FeatureVector fv, DependencyTree tree, int node) {
        extractHigherOrder(fv, tree, node);
    }

    // Higher-order extractors are not also first-order extractors
    public final void extractLabelled(FeatureVector fv, CONLLSentence sentence,
            int label, int node, boolean RA, boolean child) {
    }

    public final void extractUnlabelled(FeatureVector fv, CONLLSentence sentence,
            int head, int dep) {
    }
}
